permutation of given string